package com.feicheng.iou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.iou.entity.Backview;
import com.feicheng.iou.pojo.BackviewUpdatePOJO;
import com.feicheng.iou.pojo.resourceBackviewParamPOJO.BackviewListParamPOJO;
import com.feicheng.iou.result.ResultInfo;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tianchunlei
 * @since 2021-06-28
 */
public interface BackviewService extends IService<Backview> {

    /**
     * @Author wuweinan
     * @Description 查询回访信息
     * @Date 2021-7-1 18:11
     * @param studentId
     * @return List<Backview>
     */
    //原void
    ResultInfo selectBackviewByStudentId(Integer studentId);

    /**
     * @Author wuweinan
     * @Description 添加回访信息
     * @Date 2021-7-5 11:12
     * @param backview
     * @return void
     */
    ResultInfo insertBackview(Backview backview);

    /**
     * @Author wuweinan
     * @Description 更新回访信息
     * Student,Resource,Backview作为查询的对象.
     * @Date 2021-7-5 14:19
     * @param backviewUpdatePOJO
     * @return  Integer
     */
    ResultInfo updateBackviewById(BackviewUpdatePOJO backviewUpdatePOJO);

    /**
     * @Author wuweinan
     * @Description  查询回访信息列表
     * Student,Resource,Backview作为查询的对象.
     * @Date 2021-7-5 14:19
     * @param backviewListParamPOJO
     * @return  ResultInfo
     */
    ResultInfo selectBackviewsPagesByConditions(BackviewListParamPOJO backviewListParamPOJO);


    /**
     * @Author wuweinan
     * @Description 查询单条回访信息
     * Student,Resource,Backview作为查询的对象.
     * @Date 2021-7-5 14:19
     * @param backviewListParamPOJO
     * @return  List<BackviewListReturnListPOJO>
     */
    ResultInfo selectBackviewPagesByConditions(BackviewListParamPOJO backviewListParamPOJO);

}
